import request from '@/router/axios';
export const getUserData = (data) => request({
    url: '/app/sys/user/',
    method: 'get',
    params: { 'page':data.page }
})

export const getRoleData = (page) => request({
    url: '/app/admin/getRole',
    method: 'get',
    data: { page:page }
})



export const getDic = (type) => request({
    url: '/app/admin/getDic',
    method: 'get',
    data: {
        type
    }
})